using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
//using SMB.Utility;
//using SMB.Data.PulseGS;

namespace SMBERP.GS.UserControl
{
    public partial class ucGSInfoView : System.Web.UI.UserControl
    {

        //public void Display(GSAdd.Item itm)
        //{
        //    try
        //    {
               
        //        lblAssetName.Text = itm.AssetName;
        //        //lblSpec.Text = itm.Spec;
        //        lblUnit.Text = itm.Unit;
        //        lblQty.Text = string.Format("{0:##,##0}", itm.Qty);
        //        //lblAmtSTTL.Text = string.Format("${0:##,##0}", itm.Price );
        //        //lblPrice.Text =  string.Format("${0:##,##0}", Convert.ToDouble(itm.Price));
        //        //lblVenderName.Text = itm.VenderName;
        //        //lblBrand.Text = itm.Brand;
        //        lblKeeperID.Text = itm.KeeperID;
        //        lblKeepername.Text = itm.KeeperName;
        //        lblKeepDivName.Text = itm.KeepDivName;
        //        lblLocationName.Text = itm.LocationName;
        //        lblAsUseDivName.Text = itm.GSUseDivName;
        //        lblAsUserID.Text = itm.GSUserID;
        //        lblAsUserName.Text = itm.GSUserName;
        //        lblNote.Text = itm.Note;
        //        lblRemark.Text = itm.ReMark;

        //        lblUcRcvDate.DateTimeValue = itm.RcvDate;
        //        lblRefType.Text = itm.RefType;
        //        lblWorkingyears.Text = itm.WorkingYears.ToString();
        //        lblCategoryID.Text = itm.CategoryID;
        //        lblCategoryName.Text = itm.CategoryName;
        //        //lblPENO.Text = itm.PENO;
        //        lblPENO.Text = itm.PENO;
        //        lblID.Text = itm.ID.ToString();
        //        lblVersion.Text = itm.Version.ToString();
        //        lblGSPeriod.Text = itm.GSPeriod.ToString();
        //        lblRemark.Text = itm.ReMark;
        //        lblMatter.Text = itm.Matter;
        //        //lblAcctTabName.Text = itm.AcctTagName;
        //        //lblAcctTypeName.Text = itm.AcctTypeName;
        //        //lblUcAcctDate.DateTimeValue = itm.AcctDate;
        //        //lblAcctChildName.Text = itm.AcctChildName;
        //        //lblAcctName.Text = itm.AcctName;
        //        lblExpName.Text = itm.ExpName;
        //        //lblAcctDocID.Text = itm.AcctDocID;
        //        lblMakerUserID.Text = itm.MakeUserID;
        //        lblMakeUserName.Text = itm.MakeUserName;
        //        lblSeries.Text = itm.SeriesName;

        //    }
        //    catch (Exception ex)
        //    { throw ex; }
        //}
        //private void BindDataList(DataTable dt)
        //{
        //    //DataList2.DataSource = dt;
        //    //DataList2.DataBind();
        //}
        //protected void Page_Load(object sender, EventArgs e)
        //{

        //}
    }
}